
Pod::Spec.new do |s|
  s.name             = 'JwPack'
  s.version          = '2.0.3'
  s.summary          = 'A short description of JwPack.'

  s.description      = <<-DESC
  TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/giteecjw0124/JwPack'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'giteecjw0124' => 'chenjingwei0124@foxmail.com' }
  s.source           = { :git => 'https://gitee.com/giteecjw0124/JwPack.git', :tag => s.version.to_s }

  s.ios.deployment_target = '12.0'
  s.frameworks = 'UIKit', 'Foundation', 'CoreText', 'QuartzCore'
  s.source_files = 'JwPackKit/Classes/JwPack.h'
  
  s.subspec 'Macro' do |macro|
    macro.source_files = 'JwPackKit/Classes/Macro/*'
  end
  
  s.subspec 'Core' do |core|
    core.source_files = 'JwPackKit/Classes/Core/*'
  end
  
  s.subspec 'Cate' do |cate|
    cate.dependency 'JwPack/Core'
    cate.source_files = 'JwPackKit/Classes/Cate/*'
  end
  
end
